package com.guohe3.just.DO;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * <p>
 *
 * </p>
 *
 * @author 浦希成
 * @since 2019-01-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Document(indexName = "score",type = "score",shards = 3)
public class Score implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 自增id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 课程名
     */
    private String courseName;

    private String score;

    /**
     * 学分
     */
    private String credit;

    /**
     * 课程号
     */
    private String courseNum;

    /**
     * 课程属性
     */
    private String courseAttribute;

    private String courseNature;

    /**
     * 序号
     */
    private String orderNum;

    /**
     * 学年
     */
    private String startSemester;

    /**
     * 总学时
     */
    private String totalHours;

    /**
     * 考核方式
     */
    private String examinationMethod;

    private String studentUsername;

    private String markOfScore;

    private String alternativeCourseName;

    private String alternativeCourseNumber;

    private Integer studentId;


}
